package com.zzj.model.dto.chat;

import lombok.Data;


import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
@Data
public class ChatFriendsCreateDTO {
    @NotEmpty(message = "请输入用户用户名")
    private String fromUsername;
    @NotEmpty(message = "请输入用户姓名")
    private String fromName;
    @NotEmpty(message = "请输入用户头像")
    private String fromAvatar;
    @NotEmpty(message = "请输入头像")
    private String toAvatar;
    @NotEmpty(message = "请输入好友用户名")
    private String toUsername;
    @NotEmpty(message = "请输入好友姓名")
    private String toName;
}
